package com.sl.au.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sl.au.entity.ExdeviExdePersonLatestLocation;
import com.sl.au.repository.ExdeviExdePersonLatestLocationRepository;
import com.sl.au.service.ExdeviExdePersonLatestLocationService;

@Service("ExdeviExdePersonLatestLocationService")
@Transactional
public class ExdeviExdePersonLatestLocationServiceImpl implements ExdeviExdePersonLatestLocationService{

	@Autowired
	ExdeviExdePersonLatestLocationRepository exdeviExdePersonLatestLocationRepository;
	
	@Override
	public ExdeviExdePersonLatestLocationRepository getRepository() {
		// TODO Auto-generated method stub
		return this.exdeviExdePersonLatestLocationRepository;
	}

	@Override
	public List<ExdeviExdePersonLatestLocation> findByOne(String sSuperior) {
		// TODO Auto-generated method stub
		List<ExdeviExdePersonLatestLocation> list = exdeviExdePersonLatestLocationRepository.findByOne(sSuperior);
		return list;
	}

}
